home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
PET
/
S-Super PET
/
(s)tk.d64
/
DISP.ASM
< prev
next >
Wrap
Assembly Source File
|
2009-01-18
|
574b
|
15 lines
;subroutine display
xdef display ;definition for external use
xref putchar_ ;reference to system routine
display loop ;loop
ldb,x+ ; load character into B
quif eq ; quit if null byte
pshs x ; save X
jsr putchar_ ; display character
puls x ; restore x
endloop ;endloop
rts
end